<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let [a,b,c]=[1,2,3];
        console.log(a,b,c);

        let [x=10,y] = [100];
        console.log(x,y);
        
        let [n,...m] = [1,2,3,4,5,6];
        console.log(n);
        console.log(m);

        var s = 'hello';
        console.log(s[0],s[1],s[2]);
        let [c1,c2,c3,c4,c5] ='hello';
        console.log(c1,c2,c3,c4,c5);
    </script>
    
</body>
</html>